package com.lening.iot.controller;

import com.lening.common.base.BaseController;
import com.lening.iot.dto.IotsDTO;
import com.lening.iot.po.IotsPO;
import com.lening.iot.service.IotsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.reactive.function.client.WebClient;

import javax.annotation.Resource;

/**
 * @ToDo:
 * @Author：李忠达
 * @date: 2024/6/24 0:37
 */

@RestController
@RequestMapping("/Iots")
public class IotsController extends BaseController<IotsPO, IotsDTO, IotsService> {
    @Autowired(required = false)
    private WebClient webClient;

    @Resource
    private IotsService iotsService;
}
